package me.jollyfly.jshop.pay.server;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * @author jollyfly
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableAsync
@ComponentScan("me.jollyfly.jshop")
@MapperScan(basePackages = "me.jollyfly.jshop.user.server.dao")
public class PayApp {
    public static void main(String[] args) {
        SpringApplication.run(PayApp.class, args);
    }
}
